function myAlert(content, type) {
    let tmp = ''
    tmp += `<div class="alert alert-${type} show alert-dismissible my_msg" style="z-index: 9999" role="alert" id="my_js_alert">`
    tmp += `<span>${content}</span>`
    tmp += '<button type="button" class="close" data-dismiss="alert" aria-label="Close">'
    tmp += '<span aria-hidden="true">&times;</span>'
    tmp += '</button></div>'

    $('#msg_block').html(tmp)
}